Chat Output Node
The Chat Output node streams content to the user interface during workflow execution. It renders text responses to the chatbot UI, supporting variable interpolation for dynamic content. Use this node to display AI-generated responses, status messages, or any text output to users.
How It Works
The Chat Output node receives content from upstream nodes and streams it to the chatbot interface via Server-Sent Events (SSE). The content is sent in real-time, allowing users to see responses as they are generated.
The node supports variable interpolation using ${variable} syntax. This enables dynamic content assembly by inserting values from workflow variables into the output text.
Configuration
Content
The text content to display to the user. Supports variable interpolation using ${variable} syntax to insert values from workflow variables.
| Property | Value |
|---|---|
| Type | String |
| Input modes | Fixed, Expression |
| Required | Yes |
Example:
Hello ${userName}! Your result: ${result}
Output
This node produces no output variables. Its purpose is to stream content to the user interface as a terminal action.
Execution Lifecycle
| Phase | Behavior |
|---|---|
| Pre-execution | Awaits incoming data based on edge configuration |
| Execution | Resolves variable interpolation, streams content to UI |
| Post-execution | Completes execution; no downstream data emitted |
Usage Example
Standard response workflow:
User Prompt → Large Language Model → Chat Output
Multi-branch aggregation workflow:
User Prompt → Parallel Processing → Chat Output
Conditional response workflow:
User Prompt → IF Conditional → Chat Output
Limitations
- Terminal node: Does not emit data to downstream nodes
- Text only: Streams text content; does not support rich media or file attachments
- Single UI target: Outputs to the chatbot interface only
Best Practices
- Place Chat Output nodes at the end of workflow branches
- Use meaningful variable names for clarity in interpolated content
- Combine multiple outputs into a single Chat Output when possible to reduce UI complexity
Related Nodes
- User Prompt - Entry point for chatbot-triggered workflows
- Large Language Model - Generate AI responses to stream via Chat Output
- IF Conditional - Route workflow to different Chat Output responses
- HTTP Response - Return HTTP responses instead of chatbot UI output